<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<?php
/**
 * Template for Mage_Page_Block_Html
 */
?>
<!DOCTYPE html>
	<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
	<!--[if IE 7 ]>    <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
	<!--[if IE 8 ]>    <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
	<!--[if IE 9 ]>    <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
	<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="js"> <!--<![endif]-->
	<head>
		<?php echo $this->getChildHtml('head') ?>
	</head>
	<body class="<?php echo $this->getBodyClass() ?> <?php if(Mage::helper('themeframework/settings')->getGeneral_RightToLeft()):?>em-rtl<?php endif;?>">
		<?php echo $this->getChildHtml('after_body_start') ?>
		<div class="wrapper <?php if(Mage::helper('themeframework/settings')->getGeneral_BoxWide()=='box' && Mage::helper('themeframework/settings')->checkPhone()==false):?><?php echo 'em-box-custom';?><?php endif;?>">
			<?php echo $this->getChildHtml('global_notices') ?>
			<div class="page three-columns">
				<div class="em-wrapper-header">
					<?php echo $this->getChildHtml('header') ?>
				</div>
				<div class="em-wrapper-slideshow em-wrapper-area01">
					<div class="container-fluid">
						<div class="row">
							<?php echo $this->getChildHtml('em_area1') ?>              
						</div>             
					</div>
				</div>
				
				<?php if($this->getChildHtml('breadcrumbs')):?>
				<div class="wrapper-breadcrums">
					<div class="container">
						<div class="row">
							<div class="col-sm-24">
								<?php echo $this->getChildHtml('breadcrumbs') ?>
							</div>
						</div> 
					</div> 
				</div>
				<?php endif;?>
					   
				<div class="em-wrapper-main">
					<div class="em-wrapper-area02">
						<?php echo $this->getChildHtml('em_area2') ;?>
					</div>
					<div class="container container-main">
						<div class="em-inner-main">                                        
							<div class="em-main-container em-col3-layout">						
								<div class="row">
									<div class="em-col-main col-sm-12 col-sm-push-6">
										<?php echo $this->getChildHtml('global_messages') ?>
										<?php echo $this->getChildHtml('content') ?>
									</div>
									<div class="col-sm-6 em-col-left em-sidebar col-sm-pull-12">
										<?php echo $this->getChildHtml('left') ?>
									</div>
									<div class="col-sm-6 em-col-right em-sidebar">
										<?php echo $this->getChildHtml('right') ?>
									</div>
								</div>
							</div>             
						</div>
					</div>
					<div class="em-wrapper-area03">
						<?php echo $this->getChildHtml('em_area3') ;?>
					</div>
				</div>
				<div class="em-wrapper-area04">
					<?php echo $this->getChildHtml('em_area4') ;?>
				</div>
				<div class="em-wrapper-footer"><?php echo $this->getChildHtml('footer') ?></div>
				<?php echo $this->getChildHtml('global_cookie_notice') ?>
				<?php echo $this->getChildHtml('before_body_end') ?>
			</div>
		</div>
		<?php echo $this->getAbsoluteFooter() ?>
	</body>
</html>
